package com.topsun.framework.common.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Package cloud.chenglang.frmework.enums
 * @author: 皮皮
 * @date: 2020/9/25 3:34 PM
 */
@AllArgsConstructor
@Getter
public enum GlobalErrorCodeEnum implements BaseEnum {
    /**
     * 全局错误码
     */

    SYS_EXCEPTION(500, "系统异常"),
    PARAM_ERROR(400, "参数错误"),
    ;
    private final Integer code;

    private final String desc;
}
